<script setup >
import { inject } from 'vue';

const money = inject('money')
const add = inject('add')
</script>
    
<template>
    <h1 @click="add(1000)">我是孙组件👍-{{ money }}</h1>
</template>
    
    